﻿namespace GoodAdmin.System;

/// <summary>
/// 字典数据表
/// </summary>
[SugarTable("sys_dict_data", tableDescription: "字典数据表")]
public class SysDictData:BaseSystemEntity
{
    /// <summary>
    /// 显示名
    /// </summary>
    [SugarColumn(ColumnDescription = "名称",Length = 50)]
    public virtual string Name { get; set; }
    /// <summary>
    /// 字典值
    /// </summary>
    [SugarColumn(ColumnDescription = "字典值", Length = 50)]
    public virtual string Value { get; set; }
    /// <summary>
    /// 字典类型id
    /// </summary>
    [SugarColumn(ColumnDescription = "字典类型id")]
    public long DictTypeId { get; set; }

    /// <summary>
    /// EL标签类型
    /// </summary>
    [SugarColumn(ColumnDescription = "标签类型", IsNullable = true,Length =10)]
    public string TagType { get; set; }

    /// <summary>
    /// EL标签大小
    /// </summary>
    [SugarColumn(ColumnDescription = "标签大小",IsNullable =true,Length =10)]
    public string TagSize { get; set; }

    /// <summary>
    /// 排序码
    /// </summary>
    [SugarColumn(ColumnDescription = "排序码", IsNullable = true)]
    public int? SortCode { get; set; } = 999;

    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnDescription = "备注", IsNullable = true)]
    public string Remark { get; set; }
}